Skip to content

Clean up paths in hex.package diff output#1140

Merged
ericmj merged 1 commit into
mainfrom
ericmj/fix-hex-package-diff-paths
Apr 13, 2026
Merged

Clean up paths in hex.package diff output#1140
ericmj merged 1 commit into
mainfrom
ericmj/fix-hex-package-diff-paths

Conversation

@ericmj
Copy link
Copy Markdown
Member

@ericmj ericmj commented Apr 13, 2026

Unpack both versions into a shared temporary parent directory and run the diff command with that parent as the working directory, so output shows short relative paths like ecto-3.13.4/... instead of long absolute tmp paths. Also drop git's a//b/ prefixes from the default diff command via --no-prefix.

Unpack both versions into a shared temporary parent directory and run
the diff command with that parent as the working directory, so output
shows short relative paths like `ecto-3.13.4/...` instead of long
absolute tmp paths. Also drop git's `a/`/`b/` prefixes from the default
diff command via `--no-prefix`.
@ericmj ericmj merged commit 3e5dd79 into main Apr 13, 2026
20 checks passed
@ericmj ericmj deleted the ericmj/fix-hex-package-diff-paths branch April 13, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant